package com.wizz.trade.information.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 币种表
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Data
@TableName("currency")
@AllArgsConstructor
@NoArgsConstructor
public class Currency implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 币种名称
     */
    @TableField("name")
    private String name;

    /**
     * 币种属性:1本币、2外币
     */
    @TableField("is_local")
    private Boolean isLocal;
}
